package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/AssetCodeAuxiliary.class */
public class AssetCodeAuxiliary {
    private Integer id;
    @ApiModelProperty("录入时间编号")
    private String timeNum;
    @ApiModelProperty("资产序号")
    private Integer serialNum;
    @ApiModelProperty("资产类型")
    private String type;
    @ApiModelProperty("资产编号")
    private String assetsNum;

    public AssetCodeAuxiliary setId(Integer id) {
        this.id = id;
        return this;
    }

    public AssetCodeAuxiliary setTimeNum(String timeNum) {
        this.timeNum = timeNum;
        return this;
    }

    public AssetCodeAuxiliary setSerialNum(Integer serialNum) {
        this.serialNum = serialNum;
        return this;
    }

    public AssetCodeAuxiliary setType(String type) {
        this.type = type;
        return this;
    }

    public AssetCodeAuxiliary setAssetsNum(String assetsNum) {
        this.assetsNum = assetsNum;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AssetCodeAuxiliary)) {
            return false;
        }
        AssetCodeAuxiliary other = (AssetCodeAuxiliary) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$timeNum = getTimeNum();
        Object other$timeNum = other.getTimeNum();
        if (this$timeNum == null) {
            if (other$timeNum != null) {
                return false;
            }
        } else if (!this$timeNum.equals(other$timeNum)) {
            return false;
        }
        Object this$serialNum = getSerialNum();
        Object other$serialNum = other.getSerialNum();
        if (this$serialNum == null) {
            if (other$serialNum != null) {
                return false;
            }
        } else if (!this$serialNum.equals(other$serialNum)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        if (this$type == null) {
            if (other$type != null) {
                return false;
            }
        } else if (!this$type.equals(other$type)) {
            return false;
        }
        Object this$assetsNum = getAssetsNum();
        Object other$assetsNum = other.getAssetsNum();
        return this$assetsNum == null ? other$assetsNum == null : this$assetsNum.equals(other$assetsNum);
    }

    protected boolean canEqual(Object other) {
        return other instanceof AssetCodeAuxiliary;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $timeNum = getTimeNum();
        int result2 = (result * 59) + ($timeNum == null ? 43 : $timeNum.hashCode());
        Object $serialNum = getSerialNum();
        int result3 = (result2 * 59) + ($serialNum == null ? 43 : $serialNum.hashCode());
        Object $type = getType();
        int result4 = (result3 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $assetsNum = getAssetsNum();
        return (result4 * 59) + ($assetsNum == null ? 43 : $assetsNum.hashCode());
    }

    public String toString() {
        return "AssetCodeAuxiliary(id=" + getId() + ", timeNum=" + getTimeNum() + ", serialNum=" + getSerialNum() + ", type=" + getType() + ", assetsNum=" + getAssetsNum() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getTimeNum() {
        return this.timeNum;
    }

    public Integer getSerialNum() {
        return this.serialNum;
    }

    public String getType() {
        return this.type;
    }

    public String getAssetsNum() {
        return this.assetsNum;
    }
}